using FluentlyDo.Entities;
using FluentNHibernate.Mapping;

namespace FluentlyDo.Mapping
{
    public class PersonSearchResultMap : ClassMap<PersonSearchResult>
    {
        public PersonSearchResultMap()
        {
            Id(x => x.Id).GeneratedBy.Assigned();
            Map(x => x.Surname);
            Map(x => x.FirstName);
            Map(x => x.Age);
        }
    }
}